package cn.edu.scau.cmi.zhouxinyue.client;


import java.net.URL;

import cn.edu.scau.cmi.zhouxinyue.NormalFactory.BeefMeatFactory;
import cn.edu.scau.cmi.zhouxinyue.SimpleFactory.Meat;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class NromalFactoryClient extends Application {
	@Override
	public void start(Stage primaryStage) {
		try {
			URL url=getClass().getResource("/cn/edu/scau/cmi/zhouxinyue/NormalFactory/MeatFactory.fxml");
			Parent root=FXMLLoader.load(url);
			Scene scene=new Scene(root);
			primaryStage.setScene(scene);
			primaryStage.setTitle("一般工厂");
			primaryStage.setResizable(false);
			primaryStage.show();
		} catch(Exception e) {
			e.printStackTrace();
		}
	}
	public static void main(String[] args) {
		launch(args);
	}

}
